//
//  SYS_SearchView.h
//  System_App
//
//  Created by czy001 on 2017/12/4.
//  Copyright © 2017年 czy001. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SYS_CustomFiled.h"

@protocol SYS_SearchViewDelegate <NSObject>

//点击搜索按钮
- (void)buttonClickSearchBtnWithKeyword:(NSString *)string;

@optional
//跳转到搜索界面
- (void)goSearchResultVC;

@end

@interface SYS_SearchView : UIView<UITextFieldDelegate>

@property (nonatomic, copy) NSString *placeholder;//提示语

@property (nonatomic, strong) SYS_CustomFiled *inputTF;//输入框

@property (nonatomic, strong) UIButton *searchBtn;//搜索按钮

//是否点击即跳转
@property (nonatomic) BOOL isClickChange;

@property (nonatomic, weak) id <SYS_SearchViewDelegate> delegate;

@end
